﻿using UnityEngine;

namespace HareGame
{
    /// <summary>
    /// 游戏入口。
    /// </summary>
    public partial class GameEntry : MonoBehaviour
    {
        public static SDKManager SDK => SDKManager.Instance;
        public static CameraManager Camera => CameraManager.Instance;
        public static TipsManager Tips => TipsManager.Instance;
        public static TaskManager Task => TaskManager.Instance;
        public static PointManager Point => PointManager.Instance;
        public static GuideManager Guide;
        public static AtlasManager Atlas;

        //public static IAPManager IAP => IAPManager.Instance; //正式发布需要接入内购功能时开启

        private static void InitCustomComponents()
        {
            SDK.Init(null);
            Guide = GuideManager.Instance;
            Atlas = AtlasManager.Instance;
            //IAP.CheckIAPInit();
        }
    }
}
